/*
 * @AUthor: S1mple
 * @Date: 2020-12-03 11:37:07
 * @LastEditTime: 2020-12-04 20:40:48
 * @FilePath: \heima-pc\src\router\index.js
 */
import Vue from 'vue'
import VueRouter from 'vue-router'
// 导入页面

// 登录
import Login from '@/views/login'
Vue.use(VueRouter)

const routes = [

  // 登录
  {
    path: '/login',
    name: 'Login',
    component: Login
  }
]

const router = new VueRouter({
  routes
})

export default router
